import { apiRequest } from "../assets/fetch";


export const userExists = async (data) => {

    let res = await apiRequest('USERNAME_EXISTS', {
        data
    });

    return res.result && !res.data.data.exists;
};
